package com.cskaoyan.service;

import com.cskaoyan.bean.GenericData;
import com.cskaoyan.bean.param.BaseParam;
import com.cskaoyan.bean.po.MarketComment;
import com.cskaoyan.bean.wx.comment.WxCommentCountVo;
import com.cskaoyan.bean.wx.comment.WxCommentListVo;

public interface CommentService {
    GenericData query(BaseParam param, Integer userId, Integer valueId);

    Integer deleteById(MarketComment comment);

    WxCommentCountVo queryCount(Integer type, Integer valueId);

    WxCommentListVo queryList(Integer type, Integer valueId, Integer limit, Integer page, Integer showType);

}
